package com.jsmtr.rms.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "PaperContent")
public class PaperContent {
    /**
     * ID
     */
    @Id
    @Column(nullable = false, length = 50)
    private String id;

    /**
     * 所属试卷ID
     */
    @Column(nullable = false, length = 50)
    private String pid;

    /**
     * 试卷章节
     */
    @Column(nullable = true, length = 10)
    private String chapter;

    /**
     * 题型  ：
     * 单项选择题、不定项选择题、填空题、判断题、简答题、综合题
     */
    @Column(nullable = true, length = 20)
    private String topicType;

    /**
     * 抽题范围
     */
    @Column(nullable = true, length = 50)
    private String kid;

    /**
     * 题目总数
     */
    @Column(nullable = true)
    private Integer totalTopics;

    /**
     * 每题分值
     */
    @Column(nullable = true)
    private Integer scoreQuestion;

    /**
     * 排序
     */
    @Column(nullable = true)
    private Integer sort;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getChapter() {
        return chapter;
    }

    public void setChapter(String chapter) {
        this.chapter = chapter;
    }

    public String getTopicType() {
        return topicType;
    }

    public void setTopicType(String topicType) {
        this.topicType = topicType;
    }

    public String getKid() {
        return kid;
    }

    public void setKid(String kid) {
        this.kid = kid;
    }

    public Integer getTotalTopics() {
        return totalTopics;
    }

    public void setTotalTopics(Integer totalTopics) {
        this.totalTopics = totalTopics;
    }

    public Integer getScoreQuestion() {
        return scoreQuestion;
    }

    public void setScoreQuestion(Integer scoreQuestion) {
        this.scoreQuestion = scoreQuestion;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
